/*
 * Created: 2022-08-25 13:23:26
 * Author : 涛涛涛
 */

import React from 'react';
import { View, Text } from '@tarojs/components';
import { styled } from 'linaria/react';
import { useClassName } from '@/utils/index';
import AutherInfo from './AutherInfo/AutherInfo';
import Price from './Price/Price';
export interface IProps extends ICompProps {}
Footer.defaultProps = {} as Partial<IProps>;
function Footer(props: IProps) {
    const { className } = props;
    const localClassName = useClassName('Footer', className);
    return (
        <RootView className={localClassName} style={props.style}>
            <View className="Footer-inner">
                <AutherInfo></AutherInfo>
                <Price></Price>
            </View>
        </RootView>
    );
}
export default React.memo(Footer);
const RootView = styled(View)`
    &.Footer {
        padding: 30px 40px;
        height: 160px;
        display: flex;
        align-items: center;
        .Footer-inner {
            width: 100%;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
        }
    }
`;
